package com.ruoyi.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.web.domain.Drugdictionary;
import org.springframework.stereotype.Component;

import java.util.List;


/**
 * <p>
 * 药品清单 Mapper 接口
 * </p>
 */
@Component
public interface DrugdictionaryMapper extends BaseMapper<Drugdictionary> {
    /**
     * 查询【药品清单】
     */
    public Drugdictionary selectDrugdictionaryByDrugid(Long drugid);

    /**
     * 查询【药品清单】列表
     */
    public List<Drugdictionary> selectDrugdictionaryList(Drugdictionary drugdictionary);

    /**
     * 新增【药品清单】
     */
    public int insertDrugdictionary(Drugdictionary drugdictionary);

    /**
     * 修改【药品清单】
     */
    public int updateDrugdictionary(Drugdictionary drugdictionary);

    /**
     * 删除【药品清单】
     */
    public int deleteDrugdictionaryByDrugid(Long drugid);

    /**
     * 批量删除【药品清单】
     */
    public int deleteDrugdictionaryByDrugids(Long[] drugids);
}
